package cn.powertime.evaluation.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class WebReqPostingsEventVo implements Serializable {

    @ApiModelProperty(value="事件类型 1:关注,2:点赞,3:浏览,4:收藏",name="eventType")
    @NotNull(message = "事件类型不能为空")
    private Integer eventType;
    @ApiModelProperty(value="操作类型 1:建立,2:取消",name="type")
    @NotNull(message = "事件类型不能为空")
    private Integer type;
    @ApiModelProperty(value="对象ID",name="id")
    @NotNull(message = "对象ID不能为空")
    private Long id;

}
